package com.study.userserviceprovider.controller;

import com.study.userserviceprovider.entry.TestClass;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Collections;
import java.util.List;

/**
 * 此类描述的是：
 *
 * @author: 李军容
 * @version: 2020/11/14 21:15
 */
@RestController
public class TestController {


    @Autowired
    @Qualifier
    private List<TestClass> testList = Collections.emptyList();




    @GetMapping("/test")
    public void findById(){
        System.out.println(testList);
    }

}
